package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_brand")
public class Brand {
    @TableId(value = "id",type = IdType.NONE)
    private Integer id;//品牌id
    @TableField(value = "name")
    private String name;//品牌名称
    @TableField(value = "image")
    private String image;//品牌图片地址
    @TableField(value = "letter")
    private String letter;//品牌的首字母
    @TableField(value = "seq")
    private Integer seq;//排序
}
